package vpfarm;


public class Constants {
	
	public static final int FORMAT_JPG = 1;
	public static final int FORMAT_PNG = 2;
	
	public static final int FRAMES_WAITING = 0;
	public static final int FRAMES_RENDERING = 1;
	public static final int FRAMES_FINISHED = 2;
	
	public static final String MASTER_NAME = "VPFarmMaster";
	public static final String SLAVE_NAME = "VPFarmSlave";
	
	public static final int REGISTER_SLAVE = 111;
	public static final int SEND_JOB_INFO = 112;
	public static final int ASK_FOR_RENDER_TASK = 113;
	public static final int SEND_RENDER_TASK = 114;
	public static final int SEND_RENDER_RESULT = 225;
	public static final int HAS_JOBINFO = 116;
	public static final int PING = 117;
	public static final int ASK_FOR_STATUS = 118;
	public static final int SEND_STATUS = 119;
	public static final int KILL_MASTER = 120;
	public static final int CLOSE_AGENT = 121;
}
